//
//  DayNightManager.h
//  one·一个  tyw
//
//  Created by tyw on 15/8/27.
//  Copyright (c) 2015年 tyw. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

//存储在本地的日间夜间模式
#define kUserDefaultsDayNightType        @"kUserDefaultsDayNightType"
//日间夜间切换的通知名
#define kDayNightTypeChangedNotification @"DayNightTypeChangedNotification"
//切换后的当前状态
#define kDayNightCurrentTypeIsDay        @"DayNightCurrentTypeIsDay"
#define kDayNightCurrentTypeIsNight      @"DayNightCurrentTypeIsNight"

@interface DayNightManager : NSObject

//单例方法，获得manager
+ (instancetype)sharedManager;

//改变模式
- (void)changeCurrenDayNightType:(NSString *)type;

- (NSString*)getCurrentDayNightType;


//根据传进来的图片名字拼接好图片的路径，生成图片返回出去
- (UIImage*)getThemeImage:(NSString*)imageName;

@end
